/**
 * 关注列表
 * 可在需要的页面使用this.$store.state.focusList.focusList获取
 */
export default{
	state:{
		//问题列表
		focusList: []
	},
	//mutations定义同步操作的方法
	mutations: {
		setFocusList(state,focusList){
			state.focusList = focusList;
		}
	},
	actions: {
		changeFocusList({commit},param){
			commit('setFocusList',param);
		}
	},
	getters:{
		focusList(state){
		    return state.focusList;
		}
	}
}